package springmvc.less01.service;

import java.util.List;
import java.util.Map;

import springmvc.less01.utils.PageTools;

public interface FoodService {

	public PageTools getTable(String name,int curPage) throws Exception;

	public abstract void saveFood(String foodname, String price,
			String imagePath);

	public abstract void updateFoodtype(String foodid, String foodname,
			String price,String path);

	public abstract void deleteFoodType(String foodid);
	
	public Map<String, Object> foodById(String foodid) ;
}